package cn.fintecher.pangolin.common.model.response;

import cn.fintecher.pangolin.common.model.OperatorModel;
import cn.fintecher.pangolin.common.model.OrganizationModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by ChenChang on 2017/12/20.
 */
@Data
public class LoginResponse implements Serializable {

    @ApiModelProperty("登陆用户类型")
    private OperatorModel user;

    @ApiModelProperty("用户组织model")
    private OrganizationModel organizationModel;

    @ApiModelProperty("用户token")
    private String token;

    @ApiModelProperty("判断用户的密码是否过期")
    private boolean flag;

    @ApiModelProperty("判断用户是否开启检查合规")
    private boolean checkFlag = false;

    @ApiModelProperty("判断是否启用身份证加密标识")
    private String idCardEncryptionFlag;
}
